//
//  AFNetWorkService.h
//  TBRJL
//
//  Created by 程三 on 15/6/10.
//  Copyright (c) 2015年 程三. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^RequestCompelete)(id result);
@interface AFNetWorkService : NSObject

@property(nonatomic,retain)id result;


-(void)requestWithServiceName:(NSString *)serviceName
                       params:(NSMutableDictionary *)params
                   httpMethod:(NSString *)httpMethod
           resultIsDictionary:(BOOL)resultIsDictionary
                completeBlock:(RequestCompelete)block;

-(void)RequestWithServiceName:(NSString *)serviceName
                       params:(NSMutableDictionary *)params
                   httpMethod:(NSString *)httpMethod
           resultIsDictionary:(BOOL)resultIsDictionary
                completeBlock:(RequestCompelete)block;


-(void)ChangePwdWithServiceName:(NSString *)serviceName
                         params:(NSMutableDictionary *)params
                     httpMethod:(NSString *)httpMethod
             resultIsDictionary:(BOOL)resultIsDictionary
                  completeBlock:(RequestCompelete)block;

@end
